package com.box.app.arithmetic

import java.math.RoundingMode

internal actual fun Number.format(digit: Int): Any {
    return toBigDecimal().setScale(digit, RoundingMode.HALF_EVEN).toDouble()
}